package config

type Config struct {
	Name   string //项目名
	Active string //启用环境
	Node   string //节点名

	App   AppConfig
	Mongo MongoConfig
	Redis RedisConfig
}
type AppConfig struct {
	Name     string
	Port     int
	LogLevel string
}

type RedisConfig struct {
	Addr     string
	Password string
	Db       int
	TLS      bool
}

type MongoConfig struct {
	Uri      string
	Database string
}
